import { useState } from "react"
import { Button } from 'antd-mobile'
type User = {
  name: string,
  age?: number
}
interface info {
  title: string,
  num?: number,
  content: string
}
function App() {
  const [info, setInfo] = useState<string>('')
  const butClick = () => {
    setInfo('wangkun')
  }
  return (
    <>
      this is app
      <Button color='primary' onClick={() => butClick()}>{info}点击</Button>
    </>
  )
}

export default App
